package com.dingreading.cloud.admin.dto.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

@Data
@HeadRowHeight(25)
@ContentRowHeight(25)
@ColumnWidth(18)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 13)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class LessonVO {

    @ExcelProperty(value = "主讲导读")
    private String teacherName;

    @ExcelProperty(value = "活动次数")
    private Integer lessonNum;

    @ColumnWidth(20)
    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ColumnWidth(23)
    @ExcelProperty(value = "活动日期")
    private String teachDate;

    @ColumnWidth(10)
    @ExcelProperty(value = "星期")
    private String weekName;

    @ExcelProperty(value = "社团名称")
    private String className;

    @ExcelProperty(value = "服务项目名称")
    private String productName;

    @ExcelProperty(value = "服务阶段名称")
    private String stageName;

    @ExcelProperty(value = "活动室名称")
    private String roomName;

    @ContentFontStyle(fontHeightInPoints = 14)
    @ExcelProperty(value = "会员总数量")
    private Integer studentNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "会员未到数量")
    private Integer notReachNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = "会员到达数量")
    private Integer reachNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = {"消耗类型-正价"})
    private long payNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = {"消耗类型-赠送"})
    private long giftNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = {"消耗类型-体验"})
    private long expNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = {"消耗类型-试听"})
    private long auditionNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = {"消耗类型-免费"})
    private long freeNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = {"消耗类型-未扣"})
    private long noHourNum;

    @ExcelProperty(value = "完成人姓名")
    private String closeStaffName;

    @ColumnWidth(20)
    @ExcelProperty(value = "完成时间")
    private String closeTime;
}
